package com.goods.business.service;

import com.goods.common.error.BusinessException;
import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface SupplierService {
    PageVO<SupplierVO> findSupplierList(Integer pageNum, Integer pageSize, SupplierVO supplierVO);

    void add(SupplierVO supplierVO)throws BusinessException;

    void delete(Long id)throws BusinessException;

    Supplier edit(Long id);

    void updateSupplier(Long id, Supplier supplierVO) throws BusinessException;

    List<Supplier> findSupplierList1(String name, String contact, String address);
}
